-
Notifications
You must be signed in to change notification settings - Fork 276
JSON.MGET - clarify behavior when the specified keys are in different shards #945
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
dwdougherty
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few tweaks are necessary.
Co-authored-by: David Dougherty <[email protected]>
content/commands/json.mget/index.md
Outdated
| {{% warning %}} | ||
| When cluster mode is enabled, all specified keys must reside on the same [hash slot](https://redis.io/docs/latest/operate/oss_and_stack/reference/cluster-spec/#key-distribution-model). | ||
|
|
||
| When the database has more than one shard, and the specified keys reside in different shards, Redis will not report a CROSSSLOT error, and the results may be partial. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe give some saddle hint as to why and what's expected in the future?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@oranagra nothing for the short term. For the longer term see "How can we address this issue for the long term?" in https://redislabs.atlassian.net/browse/MOD-7315
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i understand.. just suggesting that we add some hint in the text about that.
so users will have a clue that it was not intended, instead of asking why is it.
dwdougherty
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, @LiorKogan. Does @oranagra need to review one more time, or can I merge this PR?
|
@dwdougherty please merge |
No description provided.